Repository navigation
test(collection): validate native offline reports and prepare device acceptance - #125
Conversation
Generate a fresh test-only native project, retain its APK identity and failure diagnostics, and enable emulator acceleration. Align SDK 58 patch dependencies required by the compatibility gate. Refs: LVT-217, LVT-262
Record exact signed candidate identity and separate pending Android, iOS and receiving Dashboard camera/QR evidence. Refs: LVT-262
|
🚅 Deployed to the lovat-pr-125 environment in lovat
1 service not affected by this PR
|
Android release lint requires explicit includeSubdomains attributes. Keep the generated test policy limited to exact localhost hosts. Refs: LVT-217, LVT-262
Refs: LVT-262, LVT-273
Installed-app tests exposed native fetch failures that were not treated as offline. Preserve HTTP/schema failures and exercise a real accessible intake action before undo in the restart journey. Refs: LVT-262
Expo now requires expo 58.0.25 and expo-dev-client 58.0.20. Keep the live compatibility gate and app version unchanged. Refs: LVT-262, LVT-273
Retained screenshots show the flow remained in Pre-Match after early taps during rotation. Assert selected pose and enabled Start before recording intake; failed state transitions stay visible. Refs: LVT-262
Validate the Collection changes against the new shared contracts and approved Dashboard SDK before merging. Refs: LVT-262, LVT-273
Keep selected-pose assertions while retrying unchanged input during Android rotation. Retain scoped Maestro diagnostics, reset only this run\047s synthetic ledger, and use cross-platform UI Back controls. Refs: LVT-262
Verify the starting-position component with real press events and preserve all native assertions across separate driver sessions. Refs: LVT-262
Refs: LVT-262
Remove hidden native touch targets and restore backdrop dismissal. Retain the original native failure result while capturing a separate Android input diagnostic. Refs: LVT-262
A retained failure diagnostic proves that Android input selects Hub at the exact coordinates where Maestro gRPC tap has no effect. Use the pinned driver supported long-press shell path for controls without long-press actions; keep all state assertions. Refs: LVT-262
Resolve fresh accessibility bounds and reject absent, disabled or ambiguous controls. Preserve short-tap semantics, per-step UI evidence and JUnit failures; keep the portable Maestro menu flow for iOS. Refs: LVT-262
Require Undo to enable after intake, disable after undo, and enable again after recording the final event. Refs: LVT-262
Update Expo, dev client, router and Jest preset to the patch versions required by the online compatibility gate, with their resolved dependency patches. Refs: LVT-262
Keep the match-selection wrapper mounted as a native view when its checking gate resets during Home replacement. This prevents Fabric from reparenting its children inside an active Android screen removal transition. Refs: LVT-262
Use the input path proven by native diagnostics, retain per-step selection and Undo assertions, and record JUnit and accessibility snapshots. Exercise outpost intake across match phases without changing the real clock; keep portable iOS Maestro flows. Refs: LVT-262
…d input Detect the exact system hint from its active-window package and resource IDs, require one enabled confirmation target, then read the app window again. Retain the captured hint and reject unrelated or ambiguous dialogs. Refs: LVT-262
Limit global-idle UI capture to static pre-match preparation and run timed recording and menu assertions through Maestro. Delete old device snapshots before capture, and regress the zero-exit idle failure so stale XML cannot pass a test. Refs: LVT-262
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Lovat AI reviewStatus: completed · Model: Reviewed commit: Critical: 0 · High: 0 · Medium: 0 · Low: 0 Overall assessmentThis pull request is almost entirely test infrastructure: a CI workflow for building and validating a native Android candidate APK, Maestro flow splits, a UI-automation preparation script, accessibility labels, and documentation. The workflow's input validation correctly rejects partial inputs, the artifact source-SHA check is preserved, the build script restricts cleartext networking to loopback in generated files only, and the new offline-error handling in checkMatchExists is narrowly scoped and covered by the added unit test. I found no concrete correctness, security, or data-integrity defect introduced by the changed lines. No high-confidence issues were found in the reviewed changes. Review details
Limitations
|
Collection now has a repeatable standalone Android candidate build and an installed-app offline/restart/retry journey. Recognize Android's native fetch transport errors so scouting can start offline while keeping HTTP, schema and local-storage failures visible. Preserve the match-selection container's native parent while Home closes to prevent the observed Android mounting crash. Closed outpost overlays unmount their touch controls, and visible controls have accessible labels.
Build a clean synthetic x86_64 APK, verify its exact source revision, and retain its hash, JUnit, screenshots, UI snapshots, logcat and build diagnostics. The test-only network policy permits exact localhost hosts. Settle KVM permissions before emulator startup and preserve failures through diagnostic pipelines. Required assertions cover starting-position selection, match start, recording/Undo state, saved History after process restart, reconnect/retry and exactly one successful upload with the original UUID.
Android's first-use full-screen education hint can cover the field while underlying app controls remain discoverable. A static pre-match helper acknowledges only that known system hint using its Android package and exact title/button resource IDs, then verifies the active app window, field availability and disabled Start. It retains the hint snapshot and rejects unrelated or ambiguous dialogs. All timed recording, Undo and native menu actions run through the shared Maestro flows. Android's global-idle snapshot CLI is never used after the real match timer starts; failed captures delete their old device snapshot so stale XML cannot pass an assertion. Regression tests cover the captured system hint and the observed zero-exit idle-capture failure. Outpost intake remains available across match phases, without changing production timing.
Prepare Jack-owned Android/iOS release records for launch/upgrade, persistence, offline retry and multipart QR transfer with receiving Dashboard camera grant/deny. Physical-device and Collection iOS operator acceptance remain pending. Preserve production ownership, signing and app version/build numbers.
Validation: native acceptance run44874874668 passes the complete installed Android journey, including recording/Undo, native menu, offline save, process restart, History retry, settings/deep links and exactly one upload with the original UUID. Local checks include seven preparation/guard tests, lint, formatting, TypeScript, Python compilation, shell syntax and diff checks; the app suite passes 116 legacy +31 Jest tests. Previous PR CI also passed.
Synced current main2d4c1d5b into head9aa0e0ab to satisfy strict up-to-date merge protection. Collection's full app tree (2168f07a0b89bdedda964c312ae2cdebed050579) and native workflow blob (7c78f4aa312a7f755307c0cb452dca3aa6da55fe) are identical to the successful native source10776a4b. Fresh required PR CI44925326119 is running on the synced branch. Physical-device and Collection iOS operator acceptance remain prepared manual release checks.
Refs: LVT-217, LVT-262.